package com.shanxi.cz.module.biz.controller.admin.ammetermqtt.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.shanxi.cz.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.shanxi.cz.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - mq消息存储分页 Request VO")
@Data
public class AmmeterMqttPageReqVO extends PageParam {

    @Schema(description = "电表id", example = "9304")
    private Integer ammeterId;

    @Schema(description = "电表编号")
    private String ammeterAddress;

    @Schema(description = "记录日期")
    private String recordDate;

    @Schema(description = "PT变比")
    private Double pt;

    @Schema(description = "CT变比")
    private Double ct;

    @Schema(description = "频率")
    private Double hz;

    @Schema(description = "A相电流")
    private Double ia;

    @Schema(description = "B相电流")
    private Double ib;

    @Schema(description = "C相电流")
    private Double ic;

    @Schema(description = "A相功率因数")
    private Double pfa;

    @Schema(description = "B相功率因数")
    private Double pfb;

    @Schema(description = "C相功率因数")
    private Double pfc;

    @Schema(description = "三相总功率因数")
    private Double pfs;

    @Schema(description = "三相总有功功率")
    private Double pall;

    @Schema(description = "A相有功功率")
    private Double pa;

    @Schema(description = "B相有功功率")
    private Double pb;

    @Schema(description = "C相有功功率")
    private Double pc;

    @Schema(description = "A相无功功率")
    private Double qa;

    @Schema(description = "B相无功功率")
    private Double qb;

    @Schema(description = "C相无功功率")
    private Double qc;

    @Schema(description = "三相总无功功率")
    private Double qs;

    @Schema(description = "A相视在功率")
    private Double sa;

    @Schema(description = "B相视在功率")
    private Double sb;

    @Schema(description = "C相视在功率")
    private Double sc;

    @Schema(description = "三相总视在功率")
    private Double ss;

    @Schema(description = "A相电压")
    private Double ua;

    @Schema(description = "AB线电压")
    private Double uab;

    @Schema(description = "B相电压")
    private Double ub;

    @Schema(description = "BC线电压")
    private Double ubc;

    @Schema(description = "C相电压")
    private Double uc;

    @Schema(description = "CA线电压")
    private Double uca;

    @Schema(description = "总能耗-正向有功电能")
    private Double eng;

    @Schema(description = "正向无功电能")
    private Double engpoq;

    @Schema(description = "反向有功电能")
    private Double engnep;

    @Schema(description = "反向无功电能")
    private Double engneq;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}